#include "mode_micro_config.h"


/**********音频源选择*******************/
static u8 audio_soure; //音频源

void set_audio_soure(u8 num)
{
    audio_soure=num;
    LOG_INFO("set_audio_soure is %d\n",audio_soure);
}

u8 get_audio_soure()
{
    return audio_soure;
}

/**********麦克风灵敏度设置*******************/
static u8 senst_level; //灵敏度等级
void set_senst_level(u8 level) 
{
    senst_level = level;
    printf("senst_level is %d\n",senst_level);
}

u8 get_senst_level()
{
    return senst_level;
}



/***************麦克风子模式状态************************/
MICRO_SYS micro_sys;
void set_micro_ssp(u8 ssp)
{
    micro_sys.ssp = ssp;
    printf("set micro_sys.ssp is%d\n",micro_sys.ssp);
}

EM_MICRO_SSP get_micro_ssp()
{
    return micro_sys.ssp;
}